package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.Constants;
import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;

/**
 * 角色分页列表请求参数
 * @author guifang.weng
 * @create 2017-11-21 15:51
 **/
public class GetChannelRolePageReqDto extends CommonReqDTO implements Serializable {
    private static final long serialVersionUID = -3567008187314290192L;

    /**
     * 角色来源
     */
    @TYWValid(regModel = Constants.NUMBER)
    private Integer roleOrigin;
    /**
     * 角色名称
     */
    @TYWValid(max = 11)
    private String roleName;
    /**
     * 页码
     */
    @TYWValid(min = 1,regModel = Constants.NUMBER)
    private Integer pageNo;
    /**
     * 页数
     */
    @TYWValid(min = 1,regModel = Constants.NUMBER)
    private Integer pageSize;
    /**
     * 登录人公司ID
     */
    private Long merchantId;

    public Integer getRoleOrigin() {
        return roleOrigin;
    }

    public void setRoleOrigin(Integer roleOrigin) {
        this.roleOrigin = roleOrigin;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }
}
